<template>
  <div class="index">
    <van-notice-bar
        left-icon="volume-o"
        text="欢迎访问壶里乾坤，请在移动端打开本网站。"
    />
    <div class="swipper">
      <van-swipe :autoplay="2000">
        <van-swipe-item>
          <img src="https://pic.taohuren.com/tags/2022/01-11/o_7780818453.jpg" alt="">
        </van-swipe-item>
        <van-swipe-item>
          <img src="https://pic.taohuren.com/tags/2022/01-11/o_7480866915.jpg" alt="">
        </van-swipe-item>
        <van-swipe-item>
          <img src="https://pic.taohuren.com/tags/2022/01-11/o_756246635.jpg" alt="">
        </van-swipe-item>
      </van-swipe>
    </div>
    <div class="menu">
      <div class="nav-top">
        <div class="nav-top-left">
          <p>菜单1</p>
        </div>
        <div class="nav-top-right">
          <div class="nav-top-right-1">
            <p>菜单2</p>
          </div>
          <div class="nav-top-right-2">
            <p>菜单3</p>
          </div>
        </div>
      </div>
      <div class="nav-bottom">
        <div class="nav-bottom-left">
          <div class="nav-bottom-1">
            <p>菜单4</p>
          </div>
          <div class="nav-bottom-2">
            <p>菜单5</p>
          </div>
        </div>
        <div class="nav-bottom-right">
          <div class="nav-bottom-3">
            <p>菜单6</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Index",
  data(){
    return{

    }
  }
}
</script>

<style scoped lang="less">
.mint-search{
  display: block;
  height: 100%;
}

.van-swipe-item{
  text-align: center;
}

.menu{
  background-color: white;
  margin: 10px 5px;
  p{
    text-align: center;
  }
  .nav-top{
    display: flex;
    justify-content: space-between;
  }
  .nav-top-left{
    background-color: #4DA9FF;
    width: 58%;
    height: 150px;
    line-height: 150px;
  }
  .nav-top-right{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .nav-top-right-1{
    width: 100%;
    background-color: #FF5001;
    height: 73px;
    line-height: 73px;
  }
  .nav-top-right-2{
    width: 100%;
    background-color: #42b983;
    height: 73px;
    line-height: 73px;
  }
  .nav-bottom{
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
  }
  .nav-bottom-left{
    display: flex;
    justify-content: space-between;
    width: 58%;
  }
  .nav-bottom-1{
    width: 49%;
    background-color: chartreuse;
    height: 150px;
    line-height: 150px;
  }
  .nav-bottom-2{
    width: 49%;
    background-color: hotpink;
    height: 150px;
    line-height: 150px;
  }
  .nav-bottom-right{
    width: 40%;
  }
  .nav-bottom-3{
    width: 100%;
    background-color: darkgrey;
    height: 150px;
    line-height: 150px;
  }
}
</style>
